import httpInstance from "@/utils/http";

export function getCheckoutInfoAPI() {
	return httpInstance({
		url: "/member/order/pre",
	});
}

export function createOrderAPI(data: any) {
	return httpInstance({
		url: "/member/order",
		method: "POST",
		data,
	});
}